import { WeaTools } from 'ecCom';

// 内容审批-------------------------------------
// 协作 - 内容审批 - 列表
export const getCoworkDiscussApprovalList = params => WeaTools.callApi('/api/cowork/discussApproval/getCoworkDiscussApprovalList', 'GET', params);

// 协作 - 内容审批 - 高级查询条件
export const getCoworkDiscussApprovalShareCondition = params => WeaTools.callApi('/api/cowork/discussApproval/getCoworkDiscussApprovalShareCondition', 'GET', params);

// 协作 - 内容审批 - 批准/批量批准
export const batchDiscussApprove = params => WeaTools.callApi('/api/cowork/discussApproval/batchDiscussApprove', 'POST', params);

// 协作 - 内容审批 - 删除/批量删除
export const batchDiscussDel = params => WeaTools.callApi('/api/cowork/discussApproval/batchDiscussDel', 'POST', params);


// 内容监控-----------------------------
// 协作 - 内容监控 - 列表
export const getCoworkDiscussMonitorList = params => WeaTools.callApi('/api/cowork/discussMonitor/getCoworkDiscussMonitorList', 'GET', params);

// 协作 - 内容监控 - 高级查询条件
export const getCoworkDiscussMonitorShareCondition = params => WeaTools.callApi('/api/cowork/discussMonitor/getCoworkDiscussMonitorShareCondition', 'GET', params);

// 协作 - 内容监控 - 左侧版块树
export const getCoworkTreeDatasForDM = params => WeaTools.callApi('/api/cowork/base/getCoworkTreeDatas?menuType=contentMonitor', 'GET', params);


// 评论监控-----------------------------
// 协作 - 评论监控 - 列表
export const getCoworkCommentMonitorList = params => WeaTools.callApi('/api/cowork/commentMonitor/getCoworkCommentMonitorList', 'GET', params);

// 协作 - 评论监控 - 高级查询条件
export const getCoworkCommentMonitorShareCondition = params => WeaTools.callApi('/api/cowork/commentMonitor/getCoworkCommentMonitorShareCondition', 'GET', params);

// 协作 - 评论监控 - 删除/批量删除
export const batchCommentMonitorDel = params => WeaTools.callApi('/api/cowork/commentMonitor/batchCommentMonitorDel', 'POST', params);

// 协作 - 评论监控 - 左侧版块树
export const getCoworkTreeDatas = params => WeaTools.callApi('/api/cowork/base/getCoworkTreeDatas?menuType=commentMonitor', 'GET', params);
